var SettingWindow_qylds = SettingWindow.extend({
    _ccsFileName: res.SettingWindow_json,
    /**
     * 初始化语言选项
     * @private
     */
    _initYuYanChoose: function () {
        var self = this;
        var soundNode = this._nodeList['root.soundNode'];
        if (!soundNode) {
            return;
        }
        var isFangyan = (this._type == Setting_TYPE.Table_Fsp );
        var isDialect = settingData.local_dialect[gameData.mapId];

        soundNode.setVisible(isFangyan);
        soundNode["fangyan"].setVisible(isFangyan);
        soundNode["txt_fangyan"].setVisible(isFangyan);
        soundNode['fangyan'].addEventListener(function () {
            self._changeDialect(true);
        });
        if (!isFangyan) {
            soundNode["putonghua"].setPosition(soundNode["fangyan"].getPosition());
            soundNode["txt_putonghua"].setPosition(soundNode["txt_fangyan"].getPosition());
        }
        if (this._type == Setting_TYPE.Table_Hz) {
            soundNode["putonghua"].setVisible(false);
            soundNode["txt_putonghua"].setVisible(false);
        }
        soundNode['putonghua'].addEventListener(function () {
            self._changeDialect(false);
        });
        TouchUtil.setOnclickListener(soundNode['txt_fangyan'], function () {
            self._changeDialect(true);
        });
        TouchUtil.setOnclickListener(soundNode['txt_putonghua'], function () {
            self._changeDialect(false);
        });
        self._changeDialect(isFangyan && soundNode['fangyan'].isVisible());
    },
});